<?php
$this->breadcrumbs=array(
	'Galeria'=>array('index'),
        'Minhas Imagens',
);
?>
<?php
   $this->widget('application.extensions.mbmenu.MbMenu',array(
			'items'=>array(
                                   array('label'=>'Minhas Imagens', 'url'=>array('tbl_galeria/my&id='.Yii::app()->user->id),'visible'=>!Yii::app()->user->isGuest, 'linkOptions' => array( 'class' => 'menulink' ),
                                     'items'=>array(
                                                array('label'=>'Minha Galeria', 'url'=>array('tbl_galeria/my&id='.Yii::app()->user->id), 'linkOptions' => array( 'class' => 'menulink' )),
                                      ),
                                   ),
                                   array('label'=>'Imagens de Membros', 'url'=>array('tbl_galeria/my&id='.Yii::app()->user->id),'visible'=>!Yii::app()->user->isGuest, 'linkOptions' => array( 'class' => 'menulink' ),
                                          'items'=>  $menu_users,
                                       ),
			),
   ));?>
<?php
               $this->widget('application.extensions.galleria.Galleria', array(
                               'images'=>$command,
                               'theme'=>'classic',
                               'options'=>array(
                               'image_margin'=>25,
                               'transition'=>'fade',
                             ),
                 ));
?>
